package com.prs.crm.domain.warning;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author JohnLan
 * @time：2012-11-21
 * @version 1.0 类说明 提醒内容
 */
@Entity
@Table(name = "oa_warncontent")
public class WarnContent extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	/**
	 * 提醒类型
	 */
	private String warnstyl;
	/**
	 * 提醒内容
	 */
	private String warnCont;
	/**
	 * 连接路径
	 */
	private String url;
	/**
	 * 接收人员id
	 */
	private String receivID;
	/**
	 * 读取状态
	 * 1:未读取
	 * 2.已经读取
	 */
    private String readState;
	
	
    
	public String getReadState() {
		return readState;
	}

	public void setReadState(String readState) {
		this.readState = readState;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getWarnstyl() {
		return warnstyl;
	}

	public void setWarnstyl(String warnstyl) {
		this.warnstyl = warnstyl;
	}

	public String getWarnCont() {
		return warnCont;
	}

	public void setWarnCont(String warnCont) {
		this.warnCont = warnCont;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getReceivID() {
		return receivID;
	}

	public void setReceivID(String receivID) {
		this.receivID = receivID;
	}

}
